home *** CD-ROM | disk | FTP | other *** search
- 24
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- WriteRegNumber
- --- RECORDSEPARATOR ---
- Platform:
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Windows
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Description:
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- baWriteRegNumber gets a number from the Windows Registry.
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Usage:
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Result = baWriteRegNumber( KeyName, ValueName, NewData, Branch )
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Arguments:
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- String, String, Integer, String.
- --- RECORDSEPARATOR ---
- KeyName is the name of the key.
- --- RECORDSEPARATOR ---
- ValueName is the name of the value.
- --- RECORDSEPARATOR ---
- NewData is the number that will be written to the registry.
- --- RECORDSEPARATOR ---
- Branch is the branch of the registry to use. Can be one of the following:
- --- RECORDSEPARATOR ---
- "HKEY_CLASSES_ROOT"
- --- RECORDSEPARATOR ---
- "HKEY_CURRENT_USER"
- --- RECORDSEPARATOR ---
- "HKEY_LOCAL_MACHINE"
- --- RECORDSEPARATOR ---
- "HKEY_USERS"
- --- RECORDSEPARATOR ---
- ΓÇ£HKEY_CURRENT_USERΓÇ¥
- --- RECORDSEPARATOR ---
- ΓÇ£HKEY_DYN_DATAΓÇ¥
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Returns:
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Integer.
- --- RECORDSEPARATOR ---
- Returns 1 if the function is successful, otherwise 0.
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Examples:
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Director:
- --- RECORDSEPARATOR ---
- set OK = baWriteRegNumber( "Courses\Computers", "Course", 101 ,
- --- RECORDSEPARATOR ---
- "HKEY_CLASSES_ROOT" )
- --- RECORDSEPARATOR ---
- Authorware:
- --- RECORDSEPARATOR ---
- OK := baWriteRegNumber( "Courses\\Computers", "Course", 101 ,
- --- RECORDSEPARATOR ---
- "HKEY_CLASSES_ROOT" )
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Notes:
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- This function does not work in 16 bit - the 16 bit registry can not contain numbers. If
- --- RECORDSEPARATOR ---
- used in 16 bit, the function does nothing.
- --- RECORDSEPARATOR ---
- A Registry entry consists of keys and sub-keys, similar to the directories and sub-
- --- RECORDSEPARATOR ---
- directories in the Windows file system. 32 bit Windows adds Values to the registry.
- --- RECORDSEPARATOR ---
- These can be thought of as files within the key.
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- See also:
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- baReadRegString
- --- RECORDSEPARATOR ---
- baWriteRegString
- --- RECORDSEPARATOR ---
- baReadRegNumber
- --- RECORDSEPARATOR ---
- baDeleteReg